package com.develop.skwen.electricgomall.category;

import android.support.v7.widget.RecyclerView;

import com.develop.skwen.basemodule.presenter.BasePresenter;
import com.develop.skwen.basemodule.view.BaseVu;
import com.develop.skwen.electricgomall.category.itemList.CategoryItemListAdapter;
import com.develop.skwen.electricgomall.category.list.CategoryListAdapter;
import com.develop.skwen.electricgomall.category.model.CategoryBean;
import com.develop.skwen.electricgomall.category.model.CategoryItemBean;

/**
 * Created by skwen
 * on 18-5-29
 */

public interface CategoryContract {


    interface CategoryVu extends BaseVu<CategoryPresenter>{

        void setCategoryListAdapter(CategoryListAdapter categoryListAdapter);

        void setCategoryItemListAdapter(CategoryItemListAdapter categoryItemListAdapter);

    }


    interface CategoryPresenter extends BasePresenter{

        RecyclerView.LayoutManager getLayoutManager();

        RecyclerView.LayoutManager getGridLayoutManager();

        void getCategoryBeanData(CategoryBean categoryBean);

        void getCategoryItemBeanData(CategoryItemBean categoryItemBean);
    }

}
